package com.colin.aiyi.presenter.Interface_Derecated;

import android.support.v4.widget.SwipeRefreshLayout;
import android.view.View;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.colin.aiyi.presenter.Interface.Callback;

import org.greenrobot.eventbus.EventBus;

/**
 * Created by hl on 2017/5/5.
 */
@Deprecated
public abstract class AbsPresenter<T> implements IPresenter<T>, Callback<T>, BaseQuickAdapter.OnItemChildClickListener
        ,BaseQuickAdapter.OnItemClickListener,BaseQuickAdapter.RequestLoadMoreListener,SwipeRefreshLayout.OnRefreshListener{


    public String  requestType;

    /*******
     *orderType	是	int	1:人气 2：最新
     title	否	String	标题
     type  1:人气 2：最新  3已购买 4我观看的,5我收藏的
     * @param value
     */
    public  void getSayList(String... value){};


    public void  getBannerList(){};

    public  <E > void sendMsgToView(E e){
        EventBus.getDefault().post(e);
    }

    public void showParameterError(String msg)
    {
        System.out.printf("方法"+msg+"参数错误！");
    }
    @Override
    public void getAllT() {

    }

    @Override
    public void getAllT(String... type) {

    }

    @Override
    public void getT() {

    }

    @Override
    public void getTById(String id) {

    }

    @Override
    public void getTByParameter(String... parameter) {

    }

    @Override
    public <V> void getT(V v) {

    }

    @Override
    public void saveT(T t) {

    }

    @Override
    public void removeT(T t) {

    }

    @Override
    public void updateT(T t) {

    }



    @Override
    public void onFailed(Exception e) {

    }

    @Override
    public void onItemClick(BaseQuickAdapter adapter, View view, int position) {

    }

    @Override
    public void onRefresh() {

    }

    @Override
    public void onLoadMoreRequested() {

    }

    @Override
    public void onItemChildClick(BaseQuickAdapter adapter, View view, int position) {

    }
}
